package com.bds.btcdc.web.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.math.BigDecimal;

/**
 * Created by DongChenchen on 2018/4/25 0025
 * 交易所
 */
@Table("t_user_rate")
public class TUserRate {
    @Id
    private Long id;
    @Column
    private Long user_id;
    @Column
    private String code;//交易所代码
    @Column
    private BigDecimal rate;//费率
    @Column
    private Integer state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
